<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Insert title here</title>
</head>
<body>
	<div id="comments" th:fragment="comments (type,id)">
		<form id="comment_form" action=""
			th:attr="action=@{/comment/post}">
			<div id="reply_editor" name="text"></div>
			<input type="hidden" th:attr="value=${id}" name="toId"/>
			<input type="hidden" th:attr="value=${type}" name="type" />
			<input type="submit" class="btn btn-primary" value="发表"/>
		</form>
	</div>

</body>
</html>